package cn.ywsj.ywsjmidtier.service;

import cn.ywsj.ywsjmidtier.common.Connect;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName : WechatAppPayFeign
 * @Author : Lenovo
 * @Date: 2021/7/23 11:27
 * @Description :
 */
@FeignClient(url = Connect.XSX_URL,name = "xsx")
public interface WechatAppPayFeign {
    @PostMapping("/wechat/apppay/towxapppaymerge")
    String toWxAppPaydoPostMerge(@RequestParam("request") HttpServletRequest request,@RequestParam("response") HttpServletResponse response);
    @RequestMapping("/wechat/apppay/towxapppay")
    String toWxAppPaydoPost(@RequestParam("request") HttpServletRequest request,@RequestParam("response") HttpServletResponse response);
    @RequestMapping("/wechat/apppay/towxrefundapppay")
    String toWxAppReFundPaydoPost(@RequestParam("request") HttpServletRequest request,@RequestParam("response") HttpServletResponse response);
}
